@primary-color-th: #333;
@border-color: #e0e0e0;
@header-bg: #f5f5f5;
@hover-color: #f9f9f9;

.query-shop {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;

  .title {
    margin-top: 50px;
    margin-bottom: 0px;
    font-size: 30px;
    text-align: center;
  }

  .title:after {
    content: " ";
    border-bottom: solid 1px #aaaaaa;
    display: block;
    width: 80px;
    margin: 20px auto;
  }

  .search-form {
    width: 100%;
    max-width: 1170px;
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;

    @media (max-width: 768px) {
      flex-direction: column;
    }
  }

  .form-group {
    width: 350px;
    @media (max-width: 768px) {
      width: 100%;
    }

    .label {
      font-size: 16px;
      color: #b68e60;
      margin-bottom: 8px;
      display: block;
    }

    .select,
    .input {
      box-sizing: border-box;
      width: 100%;
      height: 34px;
      border: 1px solid #b68e60;
      border-radius: 0;
      padding: 6px 12px;
      font-size: 14px;
      color: #b68e60;
      outline: none;
      transition: all 0.3s;

      &:focus {
        outline: none;
        color: #b68e60;
        border: 1px solid #b68e60; /* 设置新的边框颜色 */
      }

      &::placeholder {
        color: #b68e60;
      }
    }
  }

  .right-item-btn {
    width: 100%;
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    height: 34px;
    border-radius: 0px;
    background-color: #ffffff;
    color: #b68e60;
    border: 1px solid #b68e60; /* 设置新的边框颜色 */
  }

  .right-item-btn:hover {
    cursor: pointer;
    background-color: #b68e60 !important;
    color: #ffffff !important;
  }

  .example {
    font-size: 12px;
    color: #b68e60;
    margin-top: 4px;
  }

  .search-icon {
    padding: 6px;
    border-radius: 0px;
    background-color: #ffffff;
    color: #b68e60;
    border: 1px solid #b68e60;
    width: 38px;
    height: 34px;
    box-sizing: border-box;
    border-right: 0px; /* 去掉右边框 */
  }

  .container {
    max-width: 1170px;
    margin: 0 auto;
    margin-top: 30px;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, "Noto Sans", sans-serif;

    .title-table {
      text-align: center;
      color: #000000;
      margin-bottom: 8px;
      font-size: 18px;
      font-weight: bold;
    }

    .table-container {
      overflow-x: auto;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
    }

    .restaurant-table {
      width: 100%;
      border-collapse: collapse;
      background-color: white;

      th,
      td {
        padding: 8px;
        text-align: left;
        border: 1px solid @border-color;
        font-size: 14px;
      }

      th {
        background-color: #e8e8e8;
        font-weight: 600;
        color: #b68e60;
        white-space: nowrap;
        text-align: center;
      }

      td {
        color: #333;
      }

      tbody {
        tr {
          &:hover {
            background-color: @hover-color;
          }
        }
      }
    }
  }
}
